package com.xjtu.se.homework.ops.result.dao;

import com.xjtu.se.homework.ops.result.dto.SearchDto;
import com.xjtu.se.homework.ops.result.bean.ResultContent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

@Mapper
public interface ResultDao {
    @Select("select items, search_image from log where search_id = #{search_id}")
    ArrayList<ResultContent> findContent(SearchDto dto);
}
